package com.smart.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

@ApiModel(value="com-smart-admin-entity-MemberGrade")
@Data
@TableName(value = "member_grade")
public class MemberGrade {
    /**
     * 等级表ID  主键
     */
    @TableId(value = "grade_id", type = IdType.AUTO)
    @ApiModelProperty(value="等级表ID  主键")
    private Long gradeId;

    /**
     * 等级名称
     */
    @TableField(value = "grade_name")
    @ApiModelProperty(value="等级名称")
    private String gradeName;

    /**
     * 等级级数
     */
    @TableField(value = "grade_num")
    @ApiModelProperty(value="等级级数")
    private Integer gradeNum;

    /**
     * 开始值
     */
    @TableField(value = "start_experience_value")
    @ApiModelProperty(value="开始值")
    private Integer startExperienceValue;

    /**
     * 结束值
     */
    @TableField(value = "end_experience_value")
    @ApiModelProperty(value="结束值")
    private Integer endExperienceValue;

    /**
     * 等级图标
     */
    @TableField(value = "grade_images")
    @ApiModelProperty(value="等级图标")
    private String gradeImages;

    /**
     * 1 正常, 2 删除
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value="1 正常, 2 删除")
    private Integer status;

    /**
     * 创建时间
     */
    @TableField(value = "create_date")
    @ApiModelProperty(value="创建时间")
    private Date createDate;

    public static final String COL_GRADE_ID = "grade_id";

    public static final String COL_GRADE_NAME = "grade_name";

    public static final String COL_GRADE_NUM = "grade_num";

    public static final String COL_START_EXPERIENCE_VALUE = "start_experience_value";

    public static final String COL_END_EXPERIENCE_VALUE = "end_experience_value";

    public static final String COL_GRADE_IMAGES = "grade_images";

    public static final String COL_STATUS = "status";

    public static final String COL_CREATE_DATE = "create_date";
}